﻿




using System;
using Hotpot.Models;

namespace Hotpot.Plugins
{
    public class PluginScript
    {
        internal PluginScript(Plugin plugin, string url, Func<PluginScriptContext, bool> forCurrentRequest)
        {
            Plugin = plugin;
            Url = url;
            ForCurrentRequest = forCurrentRequest;
        }

        public Plugin Plugin { get; set; }
        public string Url { get; private set; }
        public Func<PluginScriptContext, bool> ForCurrentRequest { get; private set; }
    }
}
